package backend.project.gym_management.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class EquipmentAddDTO extends AdminAdd {
    @ApiModelProperty("器材名称")
    @NotNull(message = "器材名称不能为空")
    private String sname;

    @ApiModelProperty("状态（true为正常，false为故障）")
    private Boolean condition;
}
